package com.gtxy.yyf.doris.category.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.gtxy.yyf.doris.Category;
import com.gtxy.yyf.doris.vo.CategoryQueryVo;
import org.springframework.data.repository.query.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @PackageName: com.gtxy.yyf.doris.category.dao
 * @author: youjp
 * @create: 2022-06-26 18:51
 * @description:
 * @Version: 1.0
 */
@Repository
public interface CategoryMapper2 extends BaseMapper<Category> {

    /**
     * @Author jp
     * @Description //TODO  查询所有
     * @Date 17:52 2019/2/16 0016
     * @Param
     * @return
     **/

    List<Category> findAll();


    IPage<Category> selectGetPageVo(@Param("page") Page<Category> page, CategoryQueryVo vo);

}
